import random

print("游戏开始")
#定义变量
#玩家
player = int(input("请输入你的出拳（数字1【石头】/2【剪刀】/3【布】）:"))
#电脑
computer = random.randint(1,3)
print("电脑出拳:",computer)
#判断
if (player == 1 and computer == 2) or (player == 2 and computer == 3) or (player == 3 and computer == 1):
    print("玩家胜利！！！")
elif player == computer:
    print("打平，再来")
else:
    print("电脑胜利！！！")